/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package mysweethome.dao;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 *
 * @author johan
 */
public  abstract  class AbstractDAO {

    @PersistenceContext(unitName = "MySweetHome_ejbPU")
    protected EntityManager em;

    public AbstractDAO(EntityManager em) {
        this.em = em;
    }


}
